<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <style>
    div {
      width: 200px;
      height: 200px;
      border: 1px solid red;
      overflow: visible;
      overflow: hidden;
      overflow: scroll;
    }
    input {
      vertical-align: top;

    }
  </style>
</head>
<body>
<input type="text"> <img src="../b.jpg" width="100">
<div>
  <img src="../b.jpg">
</div>
</body>
</html>